Optimal. Leaf size=124 \[ -\frac {2 (47 x+37)}{5 (2 x+3) \left (3 x^2+5 x+2\right )^{3/2}}+\frac {4416 \sqrt {3 x^2+5 x+2}}{25 (2 x+3)}+\frac {4 (462 x+401)}{5 (2 x+3) \sqrt {3 x^2+5 x+2}}+\frac {408 \tanh ^{-1}\left (\frac {8 x+7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right )}{25 \sqrt {5}} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 124, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {822, 806, 724, 206} \begin {gather*} -\frac {2 (47 x+37)}{5 (2 x+3) \left (3 x^2+5 x+2\right )^{3/2}}+\frac {4416 \sqrt {3 x^2+5 x+2}}{25 (2 x+3)}+\frac {4 (462 x+401)}{5 (2 x+3) \sqrt {3 x^2+5 x+2}}+\frac {408 \tanh ^{-1}\left (\frac {8 x+7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right )}{25 \sqrt {5}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 724
Rule 806
Rule 822
Rubi steps
\begin {align*} \int \frac {5-x}{(3+2 x)^2 \left (2+5 x+3 x^2\right )^{5/2}} \, dx &=-\frac {2 (37+47 x)}{5 (3+2 x) \left (2+5 x+3 x^2\right )^{3/2}}-\frac {2}{15} \int \frac {1029+846 x}{(3+2 x)^2 \left (2+5 x+3 x^2\right )^{3/2}} \, dx\\ &=-\frac {2 (37+47 x)}{5 (3+2 x) \left (2+5 x+3 x^2\right )^{3/2}}+\frac {4 (401+462 x)}{5 (3+2 x) \sqrt {2+5 x+3 x^2}}+\frac {4}{75} \int \frac {12510+13860 x}{(3+2 x)^2 \sqrt {2+5 x+3 x^2}} \, dx\\ &=-\frac {2 (37+47 x)}{5 (3+2 x) \left (2+5 x+3 x^2\right )^{3/2}}+\frac {4 (401+462 x)}{5 (3+2 x) \sqrt {2+5 x+3 x^2}}+\frac {4416 \sqrt {2+5 x+3 x^2}}{25 (3+2 x)}+\frac {408}{25} \int \frac {1}{(3+2 x) \sqrt {2+5 x+3 x^2}} \, dx\\ &=-\frac {2 (37+47 x)}{5 (3+2 x) \left (2+5 x+3 x^2\right )^{3/2}}+\frac {4 (401+462 x)}{5 (3+2 x) \sqrt {2+5 x+3 x^2}}+\frac {4416 \sqrt {2+5 x+3 x^2}}{25 (3+2 x)}-\frac {816}{25} \operatorname {Subst}\left (\int \frac {1}{20-x^2} \, dx,x,\frac {-7-8 x}{\sqrt {2+5 x+3 x^2}}\right )\\ &=-\frac {2 (37+47 x)}{5 (3+2 x) \left (2+5 x+3 x^2\right )^{3/2}}+\frac {4 (401+462 x)}{5 (3+2 x) \sqrt {2+5 x+3 x^2}}+\frac {4416 \sqrt {2+5 x+3 x^2}}{25 (3+2 x)}+\frac {408 \tanh ^{-1}\left (\frac {7+8 x}{2 \sqrt {5} \sqrt {2+5 x+3 x^2}}\right )}{25 \sqrt {5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 113, normalized size = 0.91 \begin {gather*} \frac {10 \left (19872 x^4+80100 x^3+116826 x^2+73215 x+16667\right )-408 \sqrt {5} \sqrt {3 x^2+5 x+2} \left (6 x^3+19 x^2+19 x+6\right ) \tanh ^{-1}\left (\frac {-8 x-7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right )}{125 (2 x+3) \left (3 x^2+5 x+2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.47, size = 93, normalized size = 0.75 \begin {gather*} \frac {816 \tanh ^{-1}\left (\frac {\sqrt {3 x^2+5 x+2}}{\sqrt {5} (x+1)}\right )}{25 \sqrt {5}}+\frac {2 \sqrt {3 x^2+5 x+2} \left (19872 x^4+80100 x^3+116826 x^2+73215 x+16667\right )}{25 (x+1)^2 (2 x+3) (3 x+2)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 140, normalized size = 1.13 \begin {gather*} \frac {2 \, {\left (102 \, \sqrt {5} {\left (18 \, x^{5} + 87 \, x^{4} + 164 \, x^{3} + 151 \, x^{2} + 68 \, x + 12\right )} \log \left (\frac {4 \, \sqrt {5} \sqrt {3 \, x^{2} + 5 \, x + 2} {\left (8 \, x + 7\right )} + 124 \, x^{2} + 212 \, x + 89}{4 \, x^{2} + 12 \, x + 9}\right ) + 5 \, {\left (19872 \, x^{4} + 80100 \, x^{3} + 116826 \, x^{2} + 73215 \, x + 16667\right )} \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}}{125 \, {\left (18 \, x^{5} + 87 \, x^{4} + 164 \, x^{3} + 151 \, x^{2} + 68 \, x + 12\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.39, size = 235, normalized size = 1.90 \begin {gather*} -\frac {24}{125} \, \sqrt {5} {\left (92 \, \sqrt {5} \sqrt {3} - 17 \, \log \left (-\sqrt {5} \sqrt {3} + 4\right )\right )} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right ) - \frac {408 \, \sqrt {5} \log \left ({\left | \sqrt {5} {\left (\sqrt {-\frac {8}{2 \, x + 3} + \frac {5}{{\left (2 \, x + 3\right )}^{2}} + 3} + \frac {\sqrt {5}}{2 \, x + 3}\right )} - 4 \right |}\right )}{125 \, \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )} + \frac {8 \, {\left (\frac {\frac {\frac {5 \, {\left (\frac {972}{\mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )} + \frac {13}{{\left (2 \, x + 3\right )} \mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )}\right )}}{2 \, x + 3} - \frac {12324}{\mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )}}{2 \, x + 3} + \frac {9783}{\mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )}}{2 \, x + 3} - \frac {2484}{\mathrm {sgn}\left (\frac {1}{2 \, x + 3}\right )}\right )}}{25 \, {\left (\frac {8}{2 \, x + 3} - \frac {5}{{\left (2 \, x + 3\right )}^{2}} - 3\right )} \sqrt {-\frac {8}{2 \, x + 3} + \frac {5}{{\left (2 \, x + 3\right )}^{2}} + 3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 127, normalized size = 1.02 \begin {gather*} -\frac {408 \sqrt {5}\, \arctanh \left (\frac {2 \left (-4 x -\frac {7}{2}\right ) \sqrt {5}}{5 \sqrt {-16 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}\right )}{125}-\frac {13}{10 \left (x +\frac {3}{2}\right ) \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}+\frac {17}{5 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}-\frac {16 \left (6 x +5\right )}{5 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}+\frac {\frac {6624 x}{25}+\frac {1104}{5}}{\sqrt {-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}}+\frac {204}{25 \sqrt {-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.31, size = 135, normalized size = 1.09 \begin {gather*} -\frac {408}{125} \, \sqrt {5} \log \left (\frac {\sqrt {5} \sqrt {3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac {5}{2 \, {\left | 2 \, x + 3 \right |}} - 2\right ) + \frac {6624 \, x}{25 \, \sqrt {3 \, x^{2} + 5 \, x + 2}} + \frac {5724}{25 \, \sqrt {3 \, x^{2} + 5 \, x + 2}} - \frac {96 \, x}{5 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}} - \frac {13}{5 \, {\left (2 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}} x + 3 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}\right )}} - \frac {63}{5 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} -\int \frac {x-5}{{\left (2\,x+3\right )}^2\,{\left (3\,x^2+5\,x+2\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {x}{36 x^{6} \sqrt {3 x^{2} + 5 x + 2} + 228 x^{5} \sqrt {3 x^{2} + 5 x + 2} + 589 x^{4} \sqrt {3 x^{2} + 5 x + 2} + 794 x^{3} \sqrt {3 x^{2} + 5 x + 2} + 589 x^{2} \sqrt {3 x^{2} + 5 x + 2} + 228 x \sqrt {3 x^{2} + 5 x + 2} + 36 \sqrt {3 x^{2} + 5 x + 2}}\, dx - \int \left (- \frac {5}{36 x^{6} \sqrt {3 x^{2} + 5 x + 2} + 228 x^{5} \sqrt {3 x^{2} + 5 x + 2} + 589 x^{4} \sqrt {3 x^{2} + 5 x + 2} + 794 x^{3} \sqrt {3 x^{2} + 5 x + 2} + 589 x^{2} \sqrt {3 x^{2} + 5 x + 2} + 228 x \sqrt {3 x^{2} + 5 x + 2} + 36 \sqrt {3 x^{2} + 5 x + 2}}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________